#include "StdAfx.h"
#include "ProcParamDefDouble.h"
#include "ImageProcFn.h"
#include "DummyTwo.h"

const char * const DummyTwo::FunctionNameDummyTwo = "CalcAvContrast";

DummyTwo::DummyTwo(void) 
{
	_fnApi.SetFunctionName(DummyTwo::FunctionNameDummyTwo);
	_fnApi.SetFunctionDescription("this is another dummy function with one i/p param and one o/p param");
									//inputs
	_fnApi.AddParamDef(new ProcParamDefDouble(0, "contrast", "sets contrast of image in range 0 to 100", IPluginICProcStepsParamDef::input, 0.0, 100.0 ));
									//outputs
	_fnApi.AddParamDef(new ProcParamDefDouble(0, IPluginICProcStepsParamAttribOutputNameResult, "0 is success; 1 is exception", IPluginICProcStepsParamDef::output, 0.0, 1.0));

	_fnApi.Validate();
}


DummyTwo::~DummyTwo(void)
{
}

bool		DummyTwo::Process(ImageProcStep *step, bool DebugMode)
{
	return true;
}





